/*
 * RussianDolls.h
 *
 *  Created on: 05/08/2013
 *      Author: marcio
 */

#ifndef RUSSIANDOLLS_H_
#define RUSSIANDOLLS_H_

#include <BitTools.h>

WORD* curI;

typedef struct submcr{
	long dp;
	long r;
	WORD* bitR;
	WORD* bitW;
}SPRD;

void* rdAloca();

void rdRelease(void* sub);

int rdSel(void* sub);

int rdRoot(void* sub);

int rdGen(void* sub, void* subprod, long*);

long reExpStab();

int rdCliqueCover(WORD* W, long lim);

#endif /* RUSSIANDOLLS_H_ */
